package actions;

import java.io.File;
import java.util.ArrayList;
import java.util.TreeSet;

abstract class AbstractAction implements Action {

	ArrayList<String> _parameterList;
	
	public abstract void performAction(TreeSet<File> filteredTreeSet,String parameter);
	public boolean validateParameter(String parameter)  throws InvalidActionParametersException{
		return _parameterList.contains(parameter);
	}
}
